Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Project group cypress tests #1170

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from
Draft

Conversation

FahadDarw
Copy link
Collaborator

@FahadDarw FahadDarw commented Aug 27, 2024

This automation test creates a conversion, verifies it, tests the new Groups feature, and then deletes the created group.


static path = 'task-list'
static path1 = 'groups/project-list'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this have a more descriptive name please?

urnField: '[data-cy="UKPRN"]',
continueButton: '[data-cy="submit-btn"]',
conversionSelection: '[id="available-conversion-\\[0\\]"]',
confirmandcontinue: '[data-cy="select-common-submitbutton"]'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

needs to use lower camel case like other variable names for consistency

}

static deleteGroup() {
cy.get('[data-cy="tes"]').click();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know it's not been added in this PR, but is this data-cy tag named well?

import { decisionPage } from '../../pages/decisionPage';
import { Logger } from '../../support/logger';

describe('Decisions Tests', () => {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these still decisions tests?

Logger.log("Click on create a group");
projectTaskList.clickCreateGroupBtn();

Logger.log("enerting which trust will the group join");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

entering?

@DrizzlyOwl DrizzlyOwl marked this pull request as draft December 20, 2024 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants